package personnal.blogprinter.htmlparser;

public class HtmlTags {

    public static final String HTML = "html";
    public static final String BODY = "body";

    // Titles
    public static final String H1 = "h1";
    public static final String H2 = "h2";
    public static final String H3 = "h3";
    public static final String H4 = "h4";

    public static final String DEFINITION_LIST = "dl";
    public static final String DEFINITION_TERM = "dt";
    public static final String DEFINITION_DESCRIPTION = "dd";

    // Links
    public static final String ANCHOR = "a";
    public static final String NAME = "name";
    public static final String URL = "href";

    // Chunks, Blocks
    public static final String NEWLINE = "br";
    public static final String DIV = "div";
    public static final String SPAN = "span";
    public static final String PARAGRAPH = "p";
    public static final String HORIZONTALRULE = "hr";

    // Lists
    public static final String ORDEREDLIST = "ol";
    public static final String UNORDEREDLIST = "ul";
    public static final String LISTITEM = "li";

    // Formating tags
    public static final String FONT = "font";
    /** attribute of the font tag */
    public static final String SIZE = "size";
    /** attribute of the chunk/table/cell tag */
    public static final String COLOR = "color";
    /** attribute of the font/span/div/p/hr/table/cell tag */
    public static final String STYLE = "style";

    public static final String EM = "em";
    public static final String I = "i";
    public static final String STRONG = "strong";
    public static final String B = "b";
    public static final String S = "s";
    public static final String U = "u";
    public static final String SUB = "sub";
    public static final String SUP = "sup";

    // tables/cells
    public static final String TABLE = "table";
    public static final String TABLE_HEAD = "thead";
    public static final String TABLE_BODY = "tbody";
    public static final String ROW = "tr";
    public static final String CELL = "td";

    /** attribute of the cell tag */
    public static final String HEADERCELL = "th";
    /** attribute of the table tag */
    public static final String CELLPADDING = "cellpadding";
    /** attribute of the table tag */
    public static final String CELLSPACING = "cellspacing";
    /** attribute of the cell tag */
    public static final String COLSPAN = "colspan";
    /** attribute of the cell tag */
    public static final String ROWSPAN = "rowspan";
    /** attribute of the cell tag */
    public static final String NOWRAP = "nowrap";
    /** attribute of the table/cell tag */
    public static final String BORDERWIDTH = "border";
    /** attribute of the table/cell tag */
    public static final String BACKGROUNDCOLOR = "bgcolor";
    /** attribute of the table/cell tag */
    public static final String BORDERCOLOR = "bordercolor";

    // Images
    public static final String IMAGE = "img";
    /** attribute of the image tag */
    public static final String SRC = "src";
    /** attribute of the image tag */
    public static final String ALT = "alt";

    // Size attribute values
    public static final String WIDTH = "width";
    public static final String HEIGHT = "height";

    // Alignment attribute values
    public static final String ALIGN_HORIZONTAL = "align";
    public static final String ALIGN_VERTICAL = "valign";
    public static final String ALIGN_LEFT = "left";
    public static final String ALIGN_CENTER = "center";
    public static final String ALIGN_RIGHT = "right";
    public static final String ALIGN_JUSTIFIED = "justify";
    public static final String ALIGN_TOP = "top";
    public static final String ALIGN_MIDDLE = "middle";
    public static final String ALIGN_BOTTOM = "bottom";
}
